/*
 * @Author: ZhaoZhiqi
 * @Date: 2024-09-03 16:53:42
 * @LastEditors: ZhaoZhiqi
 * @LastEditTime: 2024-11-01 15:50:55
 * @Description:
 * @FilePath: \charging-mini\充电项目\src\api\baseUrl.js
 */
const accountInfo = uni.getAccountInfoSync();
const env = accountInfo.envVersion === "release" ? "prod" : "test";

const baseUrlDic = {
    // test: "http://121.43.208.133:18809/",
    test: "https://api-charge.znscxny.com/",
    prod: "https://api-charge.znscxny.com/",
};

// 业务线类型
export function baseUrl() {
    return baseUrlDic[env];
}
